
package DTO.News;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for NewDetail complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="NewDetail">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="newDetailID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="newID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="paragrap" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NewDetail", propOrder = {
    "newDetailID",
    "newID",
    "paragrap"
})
public class NewDetail {

    protected int newDetailID;
    protected int newID;
    @XmlElement(required = true)
    protected String paragrap;

    /**
     * Gets the value of the newDetailID property.
     * 
     */
    public int getNewDetailID() {
        return newDetailID;
    }

    /**
     * Sets the value of the newDetailID property.
     * 
     */
    public void setNewDetailID(int value) {
        this.newDetailID = value;
    }

    /**
     * Gets the value of the newID property.
     * 
     */
    public int getNewID() {
        return newID;
    }

    /**
     * Sets the value of the newID property.
     * 
     */
    public void setNewID(int value) {
        this.newID = value;
    }

    /**
     * Gets the value of the paragrap property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getParagrap() {
        return paragrap;
    }

    /**
     * Sets the value of the paragrap property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setParagrap(String value) {
        this.paragrap = value;
    }

    public NewDetail() {
    }

    public NewDetail(int newDetailID, int newID, String paragrap) {
        this.newDetailID = newDetailID;
        this.newID = newID;
        this.paragrap = paragrap;
    }

}
